.group-members-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.actions {
  border-bottom: 1px solid #f0f0f0;
  padding: 10px 16px;

  button {
    font-size: 13px;
    height: 30px;
    margin-right: 10px;
    padding: 0 10px 0 8px;
    span:last-child {
      margin-left: 4px;
    }
  }
}

.search {
  border-bottom: 1px solid #f0f0f0;
  :global(.ant-input-affix-wrapper) {
    border: none;
    padding: 8px 16px;
  }
  :global(.ant-input-affix-wrapper-focused) {
    box-shadow: none;
  }
}

.members {
  flex: 1;
  overflow: hidden;
  padding: 8px 0;
}

.member {
  align-items: center;
  cursor: pointer;
  display: flex;
  padding: 8px 16px;
  &:hover {
    background-color: #fafafa;
  }
  .name {
    align-items: center;
    color: #555;
    display: flex;
    flex: 1;
    font-size: 13px;
    margin: 0 12px;
    overflow: hidden;
  }
  .name .txt {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    &:hover {
      color: #0099ff;
    }
  }
  .name .extra {
    flex: 1;
    margin-left: 8px;
    :global(.ant-tag) {
      padding: 0 4px;
      transform-origin: left center;
      transform: scale(0.9);
    }
  }
}
